/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Stones;

import ElementsProperties.MagicSensitive;

/**
 *
 * @author vf
 */
public class LockedStone extends AbstractSolidStone implements MagicSensitive{

    public LockedStone(){
        image=EnigmaUtils.ImageLoader.loadImage("./images/st-key1.png");
    }

    public void insertKey(){
        myCase.removeStone();
        myCase=null;
    }

    public void magicAction() {
        insertKey();
    }
}
